﻿using DataModels.Entities.WorkOrder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataModels.Dto.WorkOrder
{
    public class WorkOrderTypeTree : WorkOrderType
    {
        /// <summary>
        /// 子类型
        /// </summary>
        public List<WorkOrderTypeTree> Children { get; set; } = new List<WorkOrderTypeTree>();


        /// <summary>
        /// 是否有子类型
        /// </summary>
        //public bool HasChildren => Children.Any();
    }
}
